#ifndef ADMINFOODORDERLISTWINDOW_H
#define ADMINFOODORDERLISTWINDOW_H

#include <QWidget>
#include <QListWidget>

#include "FoodOrder.h"
#include "FoodOrderTable.h"
#include "ui_OrderItem.h"
#include "OrderItem.h"
#include "OrderWindow.h"

namespace Ui {
class AdminFoodOrderListWindow;
}

class AdminFoodOrderListWindow : public QListWidget
{
    Q_OBJECT

public:
    explicit AdminFoodOrderListWindow(QWidget *parent = nullptr);
    ~AdminFoodOrderListWindow();

signals:

private:
    Ui::AdminFoodOrderListWindow *ui;

private slots:
    void replyShowAdminFoodOrderListWindow();   //显示订单列表界面
    void replyQueryOrder(FoodOrder foodOrder);  //回应查询按钮
    void replyDataChange(); //回应数据改变
    void on_freshen_btn_clicked();
};

#endif // ADMINFOODORDERLISTWINDOW_H
